package fr.grobim.hangovers.gestionBudget.actions.enums;

import java.util.List;

import com.opensymphony.xwork2.ActionInvocation;

import fr.grobim.hangovers.gestionBudget.beans.comptes.Membre;

@SuppressWarnings("rawtypes")
public enum AttributsSession {
	MEMBRE_CONNECTE("membreConnecte", Membre.class),
	GESTION_SOURCE_FACTURE_LISTE("gestionSourceFactureListe", List.class),
	GESTION_FACTURE_LISTE("gestionFactureListe", List.class),
	GESTION_FACTURE_ID_FACTURE("gestionFactureIdFacture", Integer.class),
	GESTION_REGLEMENT_ID_FACTURE("gestionReglementIdFacture", Integer.class),
	ACTION_DECONNECTEE("actionDeconnectee", ActionInvocation.class);
	
	private AttributsSession(String clee, Class classeAttribut) {
		this.clee = clee;
		this.classeAttribut = classeAttribut;
	}
	
	private String clee;
	
	private Class classeAttribut;

	public String getClee() {
		return clee;
	}

	public Class getClasseAttribut() {
		return classeAttribut;
	}
	
}
